
package com.istroev.server;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the com.istroev.server package. 
 * <p>An ObjectFactory allows you to programatically 
 * construct new instances of the Java representation 
 * for XML content. The Java representation of XML 
 * content can consist of schema derived interfaces 
 * and classes representing the binding of schema 
 * type definitions, element declarations and model 
 * groups.  Factory methods for each of these are 
 * provided in this class.
 * 
 */
@XmlRegistry
public class ObjectFactory {

    private final static QName _GetFunctionResponse_QNAME = new QName("http://server.istroev.com/", "getFunctionResponse");
    private final static QName _GetLogin_QNAME = new QName("http://server.istroev.com/", "getLogin");
    private final static QName _GetFunction_QNAME = new QName("http://server.istroev.com/", "getFunction");
    private final static QName _GetLoginResponse_QNAME = new QName("http://server.istroev.com/", "getLoginResponse");
    private final static QName _AddToCartResponse_QNAME = new QName("http://server.istroev.com/", "addToCartResponse");
    private final static QName _AddToCart_QNAME = new QName("http://server.istroev.com/", "addToCart");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.istroev.server
     * 
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link GetFunctionResponse }
     * 
     */
    public GetFunctionResponse createGetFunctionResponse() {
        return new GetFunctionResponse();
    }

    /**
     * Create an instance of {@link GetLogin }
     * 
     */
    public GetLogin createGetLogin() {
        return new GetLogin();
    }

    /**
     * Create an instance of {@link AddToCartResponse }
     * 
     */
    public AddToCartResponse createAddToCartResponse() {
        return new AddToCartResponse();
    }

    /**
     * Create an instance of {@link GetLoginResponse }
     * 
     */
    public GetLoginResponse createGetLoginResponse() {
        return new GetLoginResponse();
    }

    /**
     * Create an instance of {@link GetFunction }
     * 
     */
    public GetFunction createGetFunction() {
        return new GetFunction();
    }

    /**
     * Create an instance of {@link AddToCart }
     * 
     */
    public AddToCart createAddToCart() {
        return new AddToCart();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetFunctionResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://server.istroev.com/", name = "getFunctionResponse")
    public JAXBElement<GetFunctionResponse> createGetFunctionResponse(GetFunctionResponse value) {
        return new JAXBElement<GetFunctionResponse>(_GetFunctionResponse_QNAME, GetFunctionResponse.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetLogin }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://server.istroev.com/", name = "getLogin")
    public JAXBElement<GetLogin> createGetLogin(GetLogin value) {
        return new JAXBElement<GetLogin>(_GetLogin_QNAME, GetLogin.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetFunction }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://server.istroev.com/", name = "getFunction")
    public JAXBElement<GetFunction> createGetFunction(GetFunction value) {
        return new JAXBElement<GetFunction>(_GetFunction_QNAME, GetFunction.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetLoginResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://server.istroev.com/", name = "getLoginResponse")
    public JAXBElement<GetLoginResponse> createGetLoginResponse(GetLoginResponse value) {
        return new JAXBElement<GetLoginResponse>(_GetLoginResponse_QNAME, GetLoginResponse.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link AddToCartResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://server.istroev.com/", name = "addToCartResponse")
    public JAXBElement<AddToCartResponse> createAddToCartResponse(AddToCartResponse value) {
        return new JAXBElement<AddToCartResponse>(_AddToCartResponse_QNAME, AddToCartResponse.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link AddToCart }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://server.istroev.com/", name = "addToCart")
    public JAXBElement<AddToCart> createAddToCart(AddToCart value) {
        return new JAXBElement<AddToCart>(_AddToCart_QNAME, AddToCart.class, null, value);
    }

}
